<template>
	<view class="page">
		<view class="header-box" :style="{ height: winInfo.height + 'px', paddingTop: winInfo.top + 'px' }">
			<tui-icon name="arrowleft" size="25" @tap="goBack" bold="true"></tui-icon>
			<!-- <view class="input-box">
				<input v-model="searchKey" @clear="clearSearch" @confirm="searchBiji" placeholder="请输入内容"></input>
			</view> -->
			<view class="search-container">
				<view class="search-box">
					<image src="/static/images/company/search.svg"></image>
					<input type="text" v-model="searchKey" placeholder="请输入内容" @input="searchBiji" placeholder-class="input-placeholder" />
				</view>
				<!-- <view class="search-btn" @tap="searchBiji">搜索</view> -->
			</view>
		</view>
		<view class="tuijian-container" v-if="DataInfo.Data.length && options.currentTab == 0">
			<view class="biji-container">
				<view v-for="(item, index) in DataInfo.Data" :key="index">
					<view class="biji-box" v-if="index % 2 == 0" @tap="toWenZhangDetail(item)">
						<view class="wz-title" v-if="item.TableName != 'diy_biji'">
							{{ item.TableName == 'diy_mianjing' ? '面经' : '岗位评价' }}
						</view>
						<image v-if="item.logo" class="biji-image" :src="item.logo" mode="widthFix"></image>
						<view v-else-if="item.Shipin" style="position: relative">
							<view class="play-btn">
								<tui-icon name="turningright" color="#fff" size="20"></tui-icon>
							</view>
							<video :controls="false" :show-center-play-btn="false" class="biji-image" :src="item.Shipin"></video>
						</view>

						<image v-else-if="item.TupianMS" class="biji-image" style="max-height: 500rpx" :src="JSON.parse(item.TupianMS)[0].url" mode="aspectFill"></image>
						<view class="no-img-box" v-else>
							<image src="/static/images/find/douhao.png" mode="widthFix" class="douhao-img"></image>
							<view class="no-img-nr">
								{{ item.neirong }}
							</view>
							<view class="bottom-bgc"></view>
						</view>
						<view class="biji-info">
							<view class="biji-biaoti">{{ item.neirong }}</view>
							<view class="biji-line">
								<view class="left-box">
									<image v-if="item.Avatar && item.TableName == 'diy_biji'" :src="item.Avatar" mode="aspectFill"></image>
									<image v-else-if="item.Avatar" src="/static/images/company/niming.png" mode="aspectFill"></image>
									<view class="biji-name" v-if="item.Avatar && item.TableName == 'diy_biji'">{{ item.NAME }}</view>
									<view class="biji-name" v-else-if="item.Avatar">匿名用户</view>
								</view>
								<view class="right-box" @tap.stop="DianzanSC(item, index)">
									<image v-if="item.myZan" src="/static/images/company/hongxin.png" mode="widthFix"></image>
									<image v-else src="/static/images/company/xin.png" mode="widthFix"></image>
									<view class="biji-name" :style="{ color: item.myZan ? '#FA1B0A' : '#666666' }">{{ computeNum(item.DianzanL * 1) }}</view>
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
			<view class="biji-container">
				<view v-for="(item, index) in DataInfo.Data" :key="index">
					<view class="biji-box" v-if="index % 2 != 0" @tap="toWenZhangDetail(item)">
						<view class="wz-title" v-if="item.TableName != 'diy_biji'">
							{{ item.TableName == 'diy_mianjing' ? '面经' : '岗位评价' }}
						</view>
						<image v-if="item.logo" class="biji-image" :src="item.logo" mode="widthFix"></image>
						<view v-else-if="item.Shipin" style="position: relative">
							<view class="play-btn">
								<tui-icon name="turningright" color="#fff" size="20"></tui-icon>
							</view>
							<video :controls="false" :show-center-play-btn="false" class="biji-image" :src="item.Shipin"></video>
						</view>
						<image v-else-if="item.TupianMS" class="biji-image" style="max-height: 500rpx" :src="JSON.parse(item.TupianMS)[0].url" mode="aspectFill"></image>
						<view class="no-img-box" v-else>
							<image src="/static/images/find/douhao.png" mode="widthFix" class="douhao-img"></image>
							<view class="no-img-nr">
								{{ item.neirong }}
							</view>
							<view class="bottom-bgc"></view>
						</view>
						<view class="biji-info">
							<view class="biji-biaoti">{{ item.neirong }}</view>
							<view class="biji-line">
								<view class="left-box">
									<image v-if="item.Avatar && item.TableName == 'diy_biji'" :src="item.Avatar" mode="aspectFill"></image>
									<image v-else-if="item.Avatar" src="/static/images/company/niming.png" mode="aspectFill"></image>
									<view class="biji-name" v-if="item.Avatar && item.TableName == 'diy_biji'">{{ item.NAME }}</view>
									<view class="biji-name" v-else-if="item.Avatar">匿名用户</view>
								</view>
								<view class="right-box" @tap.stop="DianzanSC(item, index)">
									<image v-if="item.myZan" src="/static/images/company/hongxin.png" mode="widthFix"></image>
									<image v-else src="/static/images/company/xin.png" mode="widthFix"></image>
									<view class="biji-name" :style="{ color: item.myZan ? '#FA1B0A' : '#666666' }">{{ computeNum(item.DianzanL * 1) }}</view>
								</view>
							</view>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="tuijian-container" v-else-if="DataInfo.Data.length && options.currentTab == 1">
			<view class="RenMai-container">
				<view style="width: 351rpx" v-for="(item, index) in DataInfo.Data" :key="index" @tap="toUserDetail(item.Id)">
					<template v-if="index % 2 == 0">
						<view class="RenMai-box">
							<image :src="item.BeijingT || BeijingT" class="Renmai-BGC" mode="aspectFill"></image>
							<image :src="item.Avatar || '/static/images/my/noAvatar.svg'" mode="aspectFill" class="Renmai-avatar"></image>
							<view class="RenMai-name">{{ item.Name || '暂无姓名' }}</view>
							<view v-if="item.Zhiwei && item.Gongsi" class="Renmai-Zhiwei">{{ item.Gongsi }}-{{ item.Zhiwei }}</view>
							<view v-else-if="item.ZuigaoXL && item.BiyeYX" class="Renmai-Zhiwei">{{ item.BiyeYX || '暂无' }}-{{ item.ZuigaoXL || '暂无' }}</view>
							<view class="pinglun-nr" v-if="item.PinglunInfo">{{ item.PinglunInfo.PingjiaNR }}</view>
						</view>
					</template>
				</view>
			</view>
			<view class="RenMai-container">
				<view style="width: 351rpx" v-for="(item, index) in DataInfo.Data" :key="index" @tap="toUserDetail(item.Id)">
					<template v-if="index % 2 != 0">
						<view class="RenMai-box">
							<image :src="item.BeijingT || BeijingT" class="Renmai-BGC" mode="aspectFill"></image>
							<image :src="item.Avatar || '/static/images/my/noAvatar.svg'" mode="aspectFill" class="Renmai-avatar"></image>
							<view class="RenMai-name">{{ item.Name || '暂无姓名' }}</view>
							<view v-if="item.Zhiwei && item.Gongsi" class="Renmai-Zhiwei">{{ item.Gongsi }}-{{ item.Zhiwei }}</view>
							<view v-else-if="item.ZuigaoXL && item.BiyeYX" class="Renmai-Zhiwei">{{ item.BiyeYX || '暂无' }}-{{ item.ZuigaoXL || '暂无' }}</view>
							<view class="pinglun-nr" v-if="item.PinglunInfo">{{ item.PinglunInfo.PingjiaNR }}</view>
						</view>
					</template>
				</view>
			</view>
		</view>
		<view class="tuijian-container" style="display: block" v-else-if="DataInfo.Data.length && options.currentTab == 2">
			<!-- <view class="company-box">
					<view class="company-info" v-for="item in DataInfo.Data" @tap="CompanyDetail(item.Id)">
					<image :src="Microi.FileServer + item.GongsiLOGO" mode="aspectFill"></image>
					<view class="company-name">{{ item.GongsiM }}</view>
				</view>
				
			</view> -->
			<view class="line-box" v-for="item in DataInfo.Data" @tap="CompanyDetail(item.Id)">
				<image :src="Microi.FileServer + item.GongsiLOGO" v-if="item.GongsiLOGO" mode="aspectFill"></image>
				<view class="no-GongSiLogo" v-else>
					<view
						style="
							display: -webkit-box;
							-webkit-box-orient: vertical;
							-webkit-line-clamp: 1;
							width: 80%;
							overflow: hidden;
							text-overflow: ellipsis;
							word-wrap: break-word;
						"
					>
						{{ item.Jiancheng || item.GongsiM }}
					</view>
				</view>
				<view>{{ item.GongsiM }}</view>
			</view>
		</view>
		<view v-else class="no-Data">
			<image src="/static/images/my/noData.png" mode="widthFix"></image>
			<view class="">暂无信息</view>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			Islogin: this.Microi.IsLogin(),
			CurrentUser: this.Microi.GetCurrentUser(),
			winInfo: {
				height: 64, //header高度
				top: 26, //标题图标距离顶部距离
				scrollH: 0 //滚动总高度
			},
			startTime: 0,
			options: {},
			DataInfo: {
				Data: [],
				page: 1,
				noData: false
			},
			searchKey: '',
			BeijingT: ''
		};
	},
	mounted() {
		this.get_morenBGC();
		let obj = {};
		// #ifdef MP-WEIXIN
		obj = wx.getMenuButtonBoundingClientRect();
		// #endif
		// #ifdef MP-BAIDU
		obj = swan.getMenuButtonBoundingClientRect();
		// #endif
		// #ifdef MP-ALIPAY
		my.hideAddToDesktopMenu();
		// #endif

		setTimeout(() => {
			uni.getSystemInfo({
				success: (res) => {
					this.winInfo = res;
					this.winInfo.width = obj.left || res.windowWidth;
					this.winInfo.height = obj.top ? obj.top + obj.height + 8 : res.statusBarHeight + 44;
					this.winInfo.top = obj.top ? obj.top + (obj.height - 32) / 2 : res.statusBarHeight + 6;
					this.winInfo.scrollH = res.windowWidth;
				}
			});
		}, 0);
	},

	onLoad(options) {
		this.options = options;
		console.log(options, 'options');
		if (options.info) {
			this.searchKey = options.info;
		}
		this.searchInfo();
	},
	onShow() {
		this.startTime = new Date();
	},
	onHide() {
		if (this.Islogin) {
			// 获取当前页面栈
			const pages = getCurrentPages();
			// 获取当前页面的对象
			const currentPage = pages[pages.length - 1];
			// 获取当前页面的路径
			const route = currentPage.route;
			// 获取当前页面的参数
			const options = currentPage.options;
			this.Microi.ApiEngine.Run('Add_liulanLog', {
				YemianCS: options,
				YemianDZ: route,
				LiulanSJC: new Date().getTime() - this.startTime.getTime()
			});
		}
	},
	onUnload() {
		if (this.Islogin) {
			// 获取当前页面栈
			const pages = getCurrentPages();
			// 获取当前页面的对象
			const currentPage = pages[pages.length - 1];
			// 获取当前页面的路径
			const route = currentPage.route;
			// 获取当前页面的参数
			const options = currentPage.options;
			this.Microi.ApiEngine.Run('Add_liulanLog', {
				YemianCS: options,
				YemianDZ: route,
				LiulanSJC: new Date().getTime() - this.startTime.getTime()
			});
		}
	},
	methods: {
		toWenZhangDetail(item) {
			if (item.TableName == 'diy_gangweipj') {
				uni.navigateTo({
					url: '/pages/my/companyInfo/companyInfo?Id=' + item.GongsiID + '&currentTab=0&WenZhangID=' + item.WenzhangID
				});
			} else if (item.TableName == 'diy_mianjing') {
				uni.navigateTo({
					url: '/pages/my/companyInfo/companyInfo?Id=' + item.GongsiID + '&currentTab=1&WenZhangID=' + item.WenzhangID
				});
			} else {
				if (item.Shipin) {
					uni.navigateTo({
						url: '/pages/my/Biji/shipin?Id=' + item.WenzhangID
					});
				} else {
					uni.navigateTo({
						url: '/pages/my/Biji/tuwen?Id=' + item.WenzhangID
					});
				}
			}
		},
		CompanyDetail(Id) {
			uni.navigateTo({
				url: '/pages/my/companyInfo/companyInfo?Id=' + Id
			});
		},
		clearSearch() {
			this.searchKey = '';
		},
		async get_morenBGC() {
			var self = this;
			var res = await self.Microi.ApiEngine.Run('customize_crud', {
				EngineKey: 'KEY000007'
			});
			this.BeijingT = this.Microi.FileServer + res.Data;
		},
		computeNum(num) {
			num = num * 1;
			if (num > 10000) {
				return num / 10000 + 'w+';
			} else if (num > 1000) {
				return num / 1000 + 'k+';
			} else {
				return num;
			}
		},
		toUserDetail(Id) {
			uni.navigateTo({
				url: '/pages/my/myDetail/myDetail?Id=' + Id
			});
		},
		searchBiji() {
			if (this.searchKey) {
				this.DataInfo.page = 1;
				this.DataInfo.noData = false;
				this.DataInfo.Data = [];
				this.searchInfo();
			}
		},
		async searchInfo() {
			var self = this;
			var res = await self.Microi.ApiEngine.Run('search_InfoList', {
				searchKey: this.searchKey,
				page: this.DataInfo.page,
				YonghuID: this.CurrentUser?.Id,
				currentTab: this.options.currentTab || 0
			});
			if (!res.Data.length) {
				this.DataInfo.noData = true;
				return;
			}
			if (this.DataInfo.page == 1) {
				this.DataInfo.Data = res.Data;
			} else {
				this.DataInfo.Data.push(...res.Data);
			}
			this.DataInfo.page++;
		},
		goBack() {
			let pages = getCurrentPages(); // 获取当前页面堆栈
			let pageCount = pages.length; // 页面堆栈中的页面数量
			// 判断是否有上级页面
			if (pageCount > 1) {
				// 如果有上级页面，则返回上级页面
				uni.navigateBack({
					delta: 1
				});
			} else {
				// 如果没有上级页面，则返回首页
				uni.switchTab({
					url: '/pages/tabbar/find/find' // 替换为你的首页路径
				});
			}
		}
	},
	onReachBottom() {
		if (this.DataInfo.noData) {
			this.Microi.Tips('暂无更多数据', false);
			return;
		} else {
			this.searchInfo();
		}
	},
	onPullDownRefresh() {
		this.DataInfo.page = 1;
		this.searchInfo();
		setTimeout(function () {
			uni.stopPullDownRefresh();
		}, 500);
	}
};
</script>

<style>
page {
	background-color: #f2f2f2;
}
.page {
	/* background-color: #f2f2f2; */
	padding: 175rpx 0 150rpx 0;
	color: #000;
	box-sizing: border-box;
}

.header-box {
	width: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 999;
	background-color: #fff;
	padding-bottom: 10rpx;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 16rpx;
	box-sizing: border-box;
}
.search-container {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	/* padding: 20rpx; */
}
.search-box {
	width: 500rpx;
	background: #f4f5f6;
	border-radius: 20rpx 20rpx 20rpx 20rpx;
	padding: 16rpx;
	display: flex;
	box-sizing: border-box;
	align-items: center;
}
.search-box image {
	width: 32rpx;
	height: 32rpx;
	margin-right: 20rpx;
}
.search-btn {
	width: 64rpx;
	height: 44rpx;

	font-weight: 500;
	font-size: 32rpx;
	color: #666666;
	line-height: 38rpx;
	text-align: left;
	font-style: normal;
	text-transform: none;
	margin-left: 20rpx;
}
.input-placeholder {
	font-weight: 500;
	font-size: 28rpx;
	color: #999999;
	line-height: 33rpx;
	font-style: normal;
	text-transform: none;
}
.input-box {
	width: 500rpx;
}
.header-name {
	font-family: PingFang SC, PingFang SC;
	font-weight: 800;
	font-size: 36rpx;
	color: #181818;
	text-align: center;
	font-style: normal;
	text-transform: none;
}
.header-info {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 20rpx;
}
.header-info image {
	width: 25rpx;
}
.header-btn {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 20rpx;
}
.header-btn image {
	width: 44rpx;
	height: 44rpx;
}
.hearder-container {
	padding: 20rpx 0;
	border-bottom: 2rpx solid #f4f5f6;
}

.no-Data {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	font-size: 25rpx;
	color: #999999;
	margin: auto;
	margin-top: 200rpx;
}
.no-Data image {
	width: 400rpx;
}

.tuijian-container {
	display: flex;
	padding-top: 12rpx;
	margin: 0 20rpx;
	gap: 12rpx;
	box-sizing: border-box;
}
.biji-container {
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
}
.biji-box {
	background-color: #fff;
	width: 46vw;
	background: #ffffff;
	border-radius: 16rpx;
	overflow: hidden;
	margin-bottom: 10rpx;
	position: relative;
}
.wz-title {
	position: absolute;
	top: 22rpx;
	right: 22rpx;
	padding: 0 12rpx;
	box-sizing: border-box;

	height: 40rpx;
	background: #eef0f1;
	border-radius: 8rpx 8rpx 8rpx 8rpx;

	font-family: PingFang SC, PingFang SC;
	line-height: 40rpx;
	font-size: 24rpx;
	color: #999999;
	text-align: center;
	font-style: normal;
	text-transform: none;
}
.play-btn {
	position: absolute;
	top: 22rpx;
	right: 22rpx;
	width: 48rpx;
	height: 48rpx;
	border-radius: 50%;
	z-index: 990;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.1);
}
.LiuLanL-box {
	position: absolute;
	left: 3%;
	top: 1%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 2rpx;

	font-family: Roboto, Roboto;
	font-size: 28rpx;
	color: #ffffff;
	text-align: left;
	font-style: normal;
	text-transform: none;
	padding: 2rpx 10rpx;
	border-radius: 30rpx;
	background-color: rgba(0, 0, 0, 0.1);
}
.LiuLanL-box image {
	width: 32rpx;
	height: 32rpx;
}
.biji-image {
	width: 100%;
	background-color: #fff;
}
.video {
	width: 100%;
	height: 100%;
}
.no-img-box {
	width: 352rpx;
	height: 352rpx;
	background: #ede7fb;
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20rpx;
	box-sizing: border-box;
}
.bottom-bgc {
	position: absolute;
	bottom: 5%;
	right: 5%;

	width: 50rpx;
	height: 20rpx;
	background-color: #dac8e9;
}
.no-img-nr {
	width: 100%;
	height: 80rpx;
	font-family: PingFang SC, PingFang SC;
	font-weight: 500;
	font-size: 28rpx;
	color: #333333;
	text-align: center;
	font-style: normal;
	text-transform: none;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
	word-wrap: break-word;
}
.douhao-img {
	position: absolute;
	top: 5%;
	left: 5%;
	width: 50rpx;
}
.biji-info {
	width: 100%;
	/* height: 122rpx; */
	background: #ffffff;
	border-radius: 0rpx 0rpx 16rpx 16rpx;
	padding: 18rpx 16rpx;
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	gap: 18rpx;
	box-sizing: border-box;
}
.biji-biaoti {
	font-family: Roboto, Roboto;
	font-weight: 400;
	font-size: 28rpx;
	color: #333333;
	text-align: left;
	font-style: normal;
	text-transform: none;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	word-wrap: break-word;
}
.biji-line {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.left-box {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12rpx;
}
.left-box image {
	width: 36rpx;
	height: 36rpx;
	border-radius: 50%;
}
.biji-name {
	font-family: PingFang SC, PingFang SC;
	font-size: 24rpx;
	color: #666666;
	text-align: left;
	font-style: normal;
	text-transform: none;
}
.right-box {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8rpx;

	font-family: Inter, Inter;
	font-weight: 400;
	font-size: 24rpx;
	color: #ea3325;
	text-align: left;
	font-style: normal;
	text-transform: none;
}
.right-box image {
	width: 36rpx;
	height: 30rpx;
}
.RenMai-container {
	display: flex;
	flex-direction: column;
	align-items: center; /* 确保内容居中对齐 */
	margin-top: 16rpx;
	flex: 1; /* 使用flex: 1来平均分配空间 */
}
.RenMai-box {
	width: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: column;
	padding: 16rpx;
	padding-top: 70rpx;
	border-radius: 16rpx;
	overflow: hidden;
	background-color: #fff;
	box-sizing: border-box;
	margin-bottom: 16rpx;
}

.Renmai-BGC {
	position: absolute;
	top: 0%;
	left: 0;
	width: 100%;
	height: 160rpx;

	border-radius: 0 0 50% 50%;
}
.Renmai-avatar {
	width: 117rpx;
	height: 116rpx;
	z-index: 1;
	border-radius: 16rpx 16rpx 16rpx 16rpx;
}
.RenMai-name {
	font-family: PingFang SC, PingFang SC;
	font-weight: 800;
	font-size: 32rpx;
	color: #212121;
	text-align: center;
	font-style: normal;
	text-transform: none;
	margin-top: 25rpx;
}
.Renmai-Zhiwei {
	margin: 20rpx 0;
	font-family: PingFang SC, PingFang SC;
	/* font-weight: 500; */
	font-size: 24rpx;
	color: #333333;
	text-align: center;
	font-style: normal;
	text-transform: none;
}
.pinglun-nr {
	width: 282rpx;
	font-family: PingFang SC, PingFang SC;
	font-size: 24rpx;
	color: #999999;
	text-align: center;
	font-style: normal;
	text-transform: none;

	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	word-wrap: break-word;
}
.company-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24rpx;
	width: 100%;
}
.line-box {
	padding: 16rpx;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	/* flex-direction: column; */
	background-color: #fff;
	padding: 16rpx;
	box-sizing: border-box;
	margin-bottom: 16rpx;
	border-radius: 20rpx;
	gap: 16rpx;
	border-bottom: 1rpx solid #f2f2f2;
}
.line-box image {
	width: 60rpx;
	height: 60rpx;
	border-radius: 50%;
}
.no-GongSiLogo {
	width: 60rpx;
	height: 60rpx;
	border-radius: 50%;
	background-color: #FB353B;
	line-height: 60rpx;
	display: flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	font-family: PingFang SC, PingFang SC;
	font-weight: bold;
	font-size: 20rpx;
	color: #ffffff;
	text-align: center;
	font-style: normal;
	text-transform: none;
}
.company-info {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16rpx 16rpx 16rpx 16rpx;
	border: 2rpx solid #f4f5f6;
	border-radius: 30rpx;
	overflow: hidden;
	width: 47.8%;
}
.company-name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	word-wrap: break-word;
	font-weight: 800;
	font-size: 28rpx;
	color: #666666;
	line-height: 44rpx;
	text-align: center;
}
.company-info image {
	width: 300rpx;
	height: 300rpx;
	margin-bottom: 8rpx;
}
</style>
